package com.powernode.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.powernode.domain.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;

public interface OrderService extends IService<Order>{
     /*
      * 多条件分页查询订单
      * @author RenBoQing
      * @date 2024/8/27 22:09
      * @param page
      * @param orderNumber
      * @param status
      * @param startTime
      * @param endTime
      * @Page<com.powernode.domain.Order>
      */
    Page<Order> queryOrderPage(Page<Order> page, String orderNumber, Integer status, Date startTime, Date endTime);
     /*
      * 根据订单编号查询订单的详情
      * @author RenBoQing
      * @date 2024/8/29 22:12
      * @param orderNumber
      * @return com.powernode.domain.Order
      */
    Order queryOrderDetailByOrderNumber(Long orderNumber);
}
